﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PMIS.HttpRequest
{
    public static class Api
    {
        //logIn
        public static string LOGIN = "api/Login";

        //用户
        public static string USER_GET = "api/User/Get";
        public static string USER_GET_LIST = "api/User/GetList";
        public static string USER_ADD = "api/User/Add";
        public static string USER_UPDATE = "api/User/Update";
        public static string USER_DELETE = "api/User/Delete";

        //部门
        public static string DEPT_GET = "api/Dept/Get";
        public static string DEPT_GET_LIST = "api/Dept/GetList";
        public static string DEPT_ADD = "api/Dept/Add";
        public static string DEPT_UPDATE = "api/Dept/Update";
        public static string DEPT_DELETE = "api/Dept/Delete";

        //菜单
        public static string MENU_GET = "api/Menu/Get";
        public static string MENU_GET_LIST = "api/Menu/GetList";
        public static string MENU_ADD = "api/Menu/Add";
        public static string MENU_UPDATE = "api/Menu/Update";
        public static string MENU_DELETE = "api/Menu/Delete";

        //角色
        public static string ROLE_GET = "api/Role/Get";
        public static string ROLE_GET_LIST = "api/Role/GetList";
        public static string ROLE_ADD = "api/Role/Add";
        public static string ROLE_UPDATE = "api/Role/Update";
        public static string ROLE_DELETE = "api/Role/Delete";
        public static string ROLE_SET_ROLEAUTHORIZE = "api/Role/SetRoleAuthorize";
        public static string ROLE_GET_ROLEAUTHORIZELIST = "api/Role/GetRoleAuthorizeList";
        public static string ROLE_GET_MENULIST = "api/Role/GetMenuIdList";

        //数据字典
        public static string DATADICT_GET = "api/DataDict/Get";
        public static string DATADICT_GET_LIST = "api/DataDict/GetList";
        public static string DATADICT_ADD = "api/DataDict/Add";
        public static string DATADICT_UPDATE = "api/DataDict/Update";
        public static string DATADICT_DELETE = "api/DataDict/Delete";
    }
}
